package com.turing.post.datatranfer.util;

import java.math.BigInteger;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.datatranferpibs.util.CardManager;
import com.turing.post.util.PCPSApplicationException;

/**
 * 卡交易明细
 * 
 * @author zxp
 * @Jan 28, 2013
 */
@Remote
@Local
public interface CardTradDetailBusiness {

	// /**
	// * 数据迁移
	// *
	// * @param key
	// * @param page
	// * @throws PCPSApplicationException
	// */
	// public Integer tranferCardTradDetail(Integer page, Integer num)
	// throws PCPSApplicationException;
	//
	// /**
	// * @param key
	// * @return
	// */
	// public BigInteger getCardTradDetailTotal();

	/**
	 * 便民驿站数据 迁移
	 * 
	 * @param ip
	 * @param port
	 * @param tranDate
	 * @throws PCPSApplicationException
	 */
	public void tranferPIBSDataByTranDate(String branchNo, String ip,
			Integer port, String tranDate, String merchantNo,
			String faceMrchBrchNo, String webMrchBrchNo)
			throws PCPSApplicationException;

	public void pmbsData(CardManager cm, String[] strS, String merchantNo,
			String branchNo, String pwd, String ip, Integer port)
			throws PCPSApplicationException;

	public void saleOldCard(String icNo, String startDate, String endDate,
			BigInteger userid, BigInteger faceid)
			throws PCPSApplicationException;
}
